package com.example.mydemo.mapper;


import com.example.mydemo.entity.Dep;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mydemo.model.DepVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepMapper extends BaseMapper<Dep>{
    List<DepVO> selectDeptCount();

    List<DepVO> selectDeptCountByName(String depname);

    int deleteByName(Long id);
}
